<style tyle="text/css">
    .modal-lg {
        width: 80%;
    }
    .panel {
        margin-bottom: 0px;
    }
</style>
<div class="panel panel-default">
    <div class="modal-header">
        <h4 class="modal-title">补贴活动表</h4>
    </div>
    <div class="modal-body panel-body">
        <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
            <div class="form-group">
                <div class="col-lg-3 control-label">补贴活动标识:</div>
                <div class="col-lg-4">
                    <input type="text" class="form-control" placeholder="必填" ng-model="obj.subsidy_id" ng-disabled="!is_new">
                </div>
            </div>
            <div class="form-group">
                <div class="col-lg-3 control-label">补贴活动名称:</div>
                <div class="col-lg-4">
                    <input type="text" class="form-control" placeholder="必填" ng-model="obj.subsidy_name">
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">补贴活动校验标识:</label>
                <div class="col-lg-6">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" name="subsidy_check_flag" ng-model="obj.subsidy_check_flag" value="1">
                            <i></i>身份证
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="subsidy_check_flag" ng-model="obj.subsidy_check_flag" value="2">
                            <i></i>用户id
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="subsidy_check_flag" ng-model="obj.subsidy_check_flag" value="3">
                            <i></i>openid
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="subsidy_check_flag" ng-model="obj.subsidy_check_flag" value="4">
                            <i></i>手机
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="subsidy_check_flag" ng-model="obj.subsidy_check_flag" value="5">
                            <i></i>家庭地址
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" name="subsidy_check_flag" ng-model="obj.subsidy_check_flag" value="6">
                            <i></i>家庭地址及身份证
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">补贴活动数量单位:</label>
                <div class="col-lg-6">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" ng-model="obj.subsidy_unit" value="1">
                            <i></i>人/次
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" ng-model="obj.subsidy_unit" value="2">
                            <i></i>金额/分
                        </label>
                    </div>
                </div>
                <label class="control-label text-muted">
                    <!-- <i>是否购买时自定义价格</i> -->
                </label>
            </div>
            <div class="form-group">
                <div class="col-lg-3 control-label">补贴活动总量:</div>
                <div class="col-lg-4">
                    <div class="input-group">
                        <input type="number" class="form-control" min="0" ng-model="obj.subsidy_total" ng-disabled="!is_new">
                        <span class="input-group-addon">分/人</span>
                    </div>
                </div>
                <label class="control-label text-muted">
                    <i>金额单位：分，人数单位：人</i>
                </label>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">补贴活动类型:</label>
                <div class="col-lg-6">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" ng-model="obj.subsidy_type" value="1">
                            <i></i>按机构分配总量
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" ng-model="obj.subsidy_type" value="2">
                            <i></i>不按机构分配总量
                        </label>
                    </div>
                </div>
                <label class="control-label text-muted">
                    <!-- <i>是否购买时自定义价格</i> -->
                </label>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">补贴活动状态:</label>
                <div class="col-lg-4">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" ng-model="obj.subsidy_state" value="1">
                            <i></i>未开始
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" ng-model="obj.subsidy_state" value="2">
                            <i></i>进行中
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" ng-model="obj.subsidy_state" value="3">
                            <i></i>已结束
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-3 control-label">是否按机构校验领取最大次数:</label>
                <div class="col-lg-4">
                    <div class="radio">
                        <label class="i-checks">
                            <input type="radio" ng-model="obj.subsidy_type_check_flag" value="1">
                            <i></i>不校验
                        </label>
                        <label class="i-checks" style="margin-left: 10px">
                            <input type="radio" ng-model="obj.subsidy_type_check_flag" value="2">
                            <i></i>校验
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-lg-3 control-label">补贴活动余量:</div>
                <div class="col-lg-4">
                    <div class="input-group">
                        <input type="number" class="form-control" min="0" ng-model="obj.subsidy_num" ng-disabled="!is_new">
                        <span class="input-group-addon">分/人</span>
                    </div>
                </div>
                <label class="control-label text-muted">
                    <i>金额单位：分，人数单位：人</i>
                </label>
            </div>
            <div class="form-group">
                <div class="col-lg-3 control-label">单次领取数量:</div>
                <div class="col-lg-4">
                    <input type="number" class="form-control" min="0" ng-model="obj.subsidy_num_once">
                </div>
                <label class="control-label text-muted">
                    <i>0：为接口传入</i>
                </label>
            </div>
            <div class="form-group">
                <div class="col-lg-3 control-label">补贴活动最大领取次数:</div>
                <div class="col-lg-4">
                    <input type="number" class="form-control" min="0" ng-model="obj.subsidy_nums_max">
                </div>
                <label class="control-label text-muted">
                    <!-- <i>金额单位：分，人数单位：人</i> -->
                </label>
            </div>
        </form>
    </div>
    <div class="modal-footer">
        <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
        <button class="btn btn-danger" type="button" ng-click="close()">关闭</button>
    </div>

</div>